Advanced Tamagotchi Implementation
📌 Overview
Final implementation featuring:
- 160x128 ST7735 TFT display
- ESP32-S3-WROOM-N16R8 module
- Hybrid graphics system (PNG + C-array)
- Power-aware operation
🌟 Key Features
Category | Details |
---|---|
Audio | PWM buzzer control with MIDI-like sequencing |
Storage | Custom partition scheme (OTA + NVS + assets) |
Graphics | Dual rendering modes (direct/C-array) |
Power | 5μA deep sleep with RTC wakeup |
🛠 Technical Highlights
- Framework: ESP-IDF 5.1 + LVGL 8.3.8
- Core Functionality:
- PNG decoder with DMA transfer
- Adaptive frame rate control
- CRC-32 protected save files
- 4-button predictive text input
- Performance: 45 FPS sustained rendering
- Power: Battery health monitoring system
typedef struct {
uint8_t hunger;
uint8_t hygiene;
uint32_t experience;
time_t last_interaction;
uint16_t checksum;
} persistent_data_t;